namespace LiJ.Pay.WeiXin.Pay.Mos
{
	/// <summary>
	///  查询订单响应实体
	/// </summary>
	public class WxPayQueryOrderResp : WxPayOrderTradeResp
	{
		/// <summary>   
		///    交易状态 必填 String(32) SUCCESS—支付成功,REFUND—转入退款,NOTPAY—未支付,CLOSED—已关闭,REVOKED—已撤销（刷卡支付）,USERPAYING--用户支付中,PAYERROR--支付失败(其他原因，如银行返回失败)
		/// </summary>  
		public string trade_state
		{
			get;
			set;
		}

		/// <summary>   
		///    交易状态描述 必填 String(256) 对当前查询订单状态的描述和下一步操作的指引
		/// </summary>  
		public string trade_state_desc
		{
			get;
			set;
		}

		/// <summary>
		/// 格式化自身属性部分
		/// </summary>
		protected override void FormatPropertiesFromMsg()
		{
			base.FormatPropertiesFromMsg();
			this.trade_state_desc = base["trade_state_desc"];
			this.trade_state = base["trade_state"];
		}
	}
}
